<template>
  <div>
    tree
    <button @click="onNew">创建</button>
  </div>
</template>

<script>
import dialogSelf from './dialogSelf.vue'
import useCreateModal from '@/hooks/useCreateModal.js'
export default {
  name: 'tree',
  created() {
    console.log('tree')
  },
  methods: {
    onNew() {
      // console.log(useCreateModal)
      useCreateModal(dialogSelf)
    }
  }
}
</script>
